package Entity;

import javax.persistence.Entity;
import javax.persistence.Id;

@Entity
public class Courses {
    @Id
    private String no;
    private String name;
    private int score;
    private String teacher;

    public Courses() {

    }

    public Courses(String no, String name, int score, String teacher) {
        this.name = name;
        this.no = no;
        this.score = score;
        this.teacher = teacher;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public String getTeacher() {
        return teacher;
    }

    public void setTeacher(String teacher) {
        this.teacher = teacher;
    }
}
